package com.weidey.blogWeb.service;

import com.weidey.common.core.domain.AjaxResult;
import com.weidey.common.core.domain.entity.SysUser;
import org.springframework.stereotype.Service;

@Service
public interface IWebUserService {
    /**
     * 允许匿名访问
     * 根据id获取用户信息
     * @param id
     * @return 用户信息
     */
    SysUser getUserInfoById(long id);

    AjaxResult getMyArticle(Long userId);

    AjaxResult getMyCollectArticle(Long userId);

    AjaxResult getMyLikeArticle(Long userId);
}
